package com.zmj.sy.mom.srv.aps.bean.entity.resource;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;
import java.time.LocalTime;

@Comment("工位的工作日")
@Getter
@Setter
@TableName("tb_station_weekday")
public class StationWeekday extends BaseEntity {

    @Comment("工位ID")
    private Integer stationId;

    @Comment("工作日规则ID")
    private Integer stationWeekdayRuleId;

    @Comment("日期")
    private LocalDate shiftDay;

    @Comment("班制ID")
    private Integer shiftId;

    @Comment("班次序号")
    private Integer shiftSeq;

    @Comment("开始时间今日还是次日 0今日 1次日")
    private Integer offsetStartDay;

    @Comment("工作开始时间")
    private LocalTime startTime;

    @Comment("结束时间今日还是次日 0今日 1次日")
    private Integer offsetEndDay;

    @Comment("工作结束时间")
    private LocalTime endTime;

    @Comment("上班类型: 1正常上班 2正常休息日 3法定节假日 4法定节假日上班")
    private Integer dateType;

    @Comment("上班类型： 1上班 2休息")
    private Integer workState;

    @Comment("描述文本")
    private String text;


}
